<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:c="http://java.sun.com/jstl/core"
                xmlns:sf="http://www.springframework.org/tags/faces"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:spring="http://www.springframework.org/tags"
                template="../../../layout/LoginTemplate.xhtml">

    <ui:define name="loginInformations">
        <h:outputText
                value="#{resourceBundle.information}"/>
    </ui:define>

    <ui:define name="loginForm">
        <h:form id="login">

            <ui:fragment id="loginFragment">
                <div>
                    <h:outputText value="#{resourceBundle.login}"/>
                    <br/>
                    <h:inputText id="login" value="#{actorBean.login}"/>
                    <br/>

                    <h:outputText value="#{resourceBundle.pwd}"/>
                    <br/>
                    <h:inputSecret id="pass" value="#{actorBean.passWord}"/>
                    <br/>

                    <h:commandButton id="connexion" action="connect" value="#{resourceBundle.connection}"/>
                </div>
            </ui:fragment>

        </h:form>
    </ui:define>
</ui:composition>